package com.hxh.rpc.config;

import com.hxh.rpc.registry.zookeeper.ZookeeperProperties;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author hxh
 * @date 2022/3/4
 * @since 1.0
 */
@ConfigurationProperties(prefix = "hxh.rpc")
@Getter
@Setter
public class RpcConfiguration {

    private boolean enable = true;

    private ZookeeperProperties zookeeper = new ZookeeperProperties();

}
